package com.vtmer.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author Sloent
 * @date 2022/09/26 01:40
 **/
@Data
@NoArgsConstructor
public class Progress {
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Integer id;

//    private String username;

    private String studId;

    @TableField(fill = FieldFill.DEFAULT)
    private Timestamp intervTime;

    @TableField(fill = FieldFill.DEFAULT)
    private Integer state;

    @TableField(fill = FieldFill.DEFAULT)
    private String intervRecord;
    @TableField(fill = FieldFill.DEFAULT)
    private String firAssessmRecord;
    @TableField(fill = FieldFill.DEFAULT)
    private String secAssessmRecord;
    @TableField(fill = FieldFill.DEFAULT)
    private Integer fail;

    public Progress(String studId){
        this.studId = studId;
    }



}
